@name yt {
  @b tabs {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    flex: 1;
    overflow: hidden;
    @e container {
      position: relative;
      flex: 1;
    }

    @e header {
      position: relative;
      display: flex;
      flex-direction: row;
      height: 44px;
      background-color: #ffffff;
      overflow-x: auto;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
      &::-webkit-scrollbar {
        display: none;
      }
    }

    @e line {
      position: absolute;
      bottom: 0;
      z-index: 10;
      height: 4px;
      border-radius: 2px;
      transition: all .3s cubic-bezier(.645, .045, .355, 1);
      backface-visibility: hidden;
      background-color: var(--fill_color);
    }

    @e panel {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow-x: hidden;
      overflow-y: hidden;
      @when scroll {
        overflow-y: auto;
      }
      &::-webkit-scrollbar {
        display: none;
      }
    }

    @e item {
      font-size: 14px;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      height: 100%;
      padding: 0 25px;
      @when active {
        color: var(--font_color);
      }
    }

    @e text {
      position: relative;
    }

    @e badge {
      margin-left: 12px;
      @when dot {
        margin-left: 4px;
      }
    }
  }
}
